.class Lcom/xingbook/park/fragment/p;
.super Ljava/lang/Object;

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field final synthetic a:Lcom/xingbook/park/fragment/o;


# direct methods
.method constructor <init>(Lcom/xingbook/park/fragment/o;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/park/fragment/p;->a:Lcom/xingbook/park/fragment/o;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 8

    const/4 v7, 0x0

    const/4 v4, 0x3

    const/4 v3, 0x2

    const/4 v2, 0x1

    invoke-static {}, Lcom/xingbook/park/f/s;->a()Lcom/xingbook/park/f/s;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/park/f/s;->b()Lcom/xingbook/park/e/c;

    const/4 v1, 0x0

    invoke-static {}, Lcom/xingbook/c/n;->o()Z

    move-result v0

    if-eqz v0, :cond_4

    const-wide/16 v5, 0x0

    iget-object v0, p0, Lcom/xingbook/park/fragment/p;->a:Lcom/xingbook/park/fragment/o;

    invoke-static {v0}, Lcom/xingbook/park/fragment/o;->a(Lcom/xingbook/park/fragment/o;)Lcom/xingbook/park/fragment/HomeTodayFragment;

    move-result-object v0

    invoke-static {v0}, Lcom/xingbook/park/fragment/HomeTodayFragment;->b(Lcom/xingbook/park/fragment/HomeTodayFragment;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-static {v7, v5, v6, v0}, Lcom/xingbook/park/f/a;->a(IJLjava/util/ArrayList;)Lcom/xingbook/park/e/c;

    move-result-object v5

    iget-object v0, p0, Lcom/xingbook/park/fragment/p;->a:Lcom/xingbook/park/fragment/o;

    invoke-static {v0}, Lcom/xingbook/park/fragment/o;->a(Lcom/xingbook/park/fragment/o;)Lcom/xingbook/park/fragment/HomeTodayFragment;

    move-result-object v0

    invoke-static {v0}, Lcom/xingbook/park/fragment/HomeTodayFragment;->b(Lcom/xingbook/park/fragment/HomeTodayFragment;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v6

    :goto_0
    invoke-interface {v6}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-nez v0, :cond_0

    invoke-static {v5}, Lcom/xingbook/park/e/a;->a(Lcom/xingbook/park/e/c;)I

    move-result v0

    if-ne v0, v2, :cond_1

    move-object v0, v1

    move v1, v2

    :goto_1
    iget-object v2, p0, Lcom/xingbook/park/fragment/p;->a:Lcom/xingbook/park/fragment/o;

    invoke-static {v2}, Lcom/xingbook/park/fragment/o;->a(Lcom/xingbook/park/fragment/o;)Lcom/xingbook/park/fragment/HomeTodayFragment;

    move-result-object v2

    invoke-static {v2}, Lcom/xingbook/park/fragment/HomeTodayFragment;->c(Lcom/xingbook/park/fragment/HomeTodayFragment;)Lcom/xingbook/park/fragment/q;

    move-result-object v2

    invoke-virtual {v2, v1, v0}, Lcom/xingbook/park/fragment/q;->obtainMessage(ILjava/lang/Object;)Landroid/os/Message;

    move-result-object v0

    invoke-virtual {v0}, Landroid/os/Message;->sendToTarget()V

    iget-object v0, p0, Lcom/xingbook/park/fragment/p;->a:Lcom/xingbook/park/fragment/o;

    invoke-static {v0}, Lcom/xingbook/park/fragment/o;->a(Lcom/xingbook/park/fragment/o;)Lcom/xingbook/park/fragment/HomeTodayFragment;

    move-result-object v0

    iput-boolean v7, v0, Lcom/xingbook/park/fragment/HomeTodayFragment;->b:Z

    return-void

    :cond_0
    invoke-interface {v6}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/park/b/e;

    invoke-virtual {v0}, Lcom/xingbook/park/b/e;->h()V

    goto :goto_0

    :cond_1
    if-ne v0, v4, :cond_2

    const-string v0, "\u7f51\u7edc\u6570\u636e\u52a0\u8f7d\u5931\u8d25\uff0c\u8bf7\u7a0d\u540e\u518d\u8bd5\uff01"

    move v1, v2

    goto :goto_1

    :cond_2
    if-ne v0, v3, :cond_3

    invoke-virtual {v5}, Lcom/xingbook/park/e/c;->d()Ljava/lang/String;

    move-result-object v0

    move v1, v3

    goto :goto_1

    :cond_3
    if-nez v0, :cond_5

    move-object v0, v1

    move v1, v4

    goto :goto_1

    :cond_4
    const-string v0, "\u7528\u6237\u4fe1\u606f\u83b7\u53d6\u5931\u8d25"

    move v1, v3

    goto :goto_1

    :cond_5
    move-object v0, v1

    move v1, v4

    goto :goto_1
.end method
